DisCSP.DistributedCSP
Class MultiServerThread

java.lang.Object
  extended byjava.lang.Thread
      extended byDisCSP.DistributedCSP.MultiServerThread
All Implemented Interfaces:
java.lang.Runnable

public class MultiServerThread
extends java.lang.Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MultiServerThread(DisConstraintProblem dis, int p, Neighbourhood n, AgentState s, java.io.PrintStream o)
          Costruttore di MultiServerThread
 
Method Summary
 void run()
          Metodo run del Thread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiServerThread

public MultiServerThread(DisConstraintProblem dis,
                         int p,
                         Neighbourhood n,
                         AgentState s,
                         java.io.PrintStream o)
Costruttore di MultiServerThread

Parameters:
dis - il problema associato all'agente
p - la porta dell'agente
n - i vicini dell' agente
s - lo stato dell'agente
o - il PrintStream su cui direzionare l'output
Method Detail

run

public void run()
Metodo run del Thread